On Time Complexity of Distributed Algorithms for Generalized Deadlock Detection
نویسنده
چکیده
Deadlock detection in distributed asynchronous systems such as distributed database systems, computer networks, massively parallel systems etc. is peculiarly subtle and complex. This is because asynchronous systems are characterized by the lack of global memory and a common physical clock, as well as by the absence of known bounds on relative processor speeds and transmission delays. These difficulties imply also problems with performance analysis of distributed algorithms for deadlock detection. This paper deals with worst-case one-time complexity analysis of two well known distributed algorithms for generalized deadlock detection. The time complexity is expressed as a function of the diameter d and the longest path l of the wait-for-graph (WFG) characterizing a state of distributed system. First, the algorithm proposed by Bracha and Toueg is considered. It is shown that its time complexity is of 2d+2l. Then, we prove that the time complexity of Kshemkalyani and Singhal algorithm is of (d+ 1) + l.
منابع مشابه
Efficient algorithms for detection and resolution of distributed deadlocks
We present a simple and efficient distributed algorithm for detecting generalized-deadlocks in distributed systems. Unlike previous algorithms, which are all based on the idea of distributed snapshot, and require multiple rounds of message transfers along the edges of the global wait-€or graph (WFG), the proposed algorithm uses a novel approach that incrementally constructs an “image” of the WF...
متن کاملSurvey of Deadlock Detection in Distributed Concurrent Programming Environments and Its Application to Real-time Systems and Ada Invited Paper
Deadlock is one of the most serious problems in multitasking concurrent programming systems. The deadlock problem becomes further complicated when the underlying system is distributed and when tasks have timing constraints. Distributed deadlock detection has been studied to some extent in distributed database systems and distributed timesharing operating systems but has not been widely used in ...
متن کاملDeadlock Detection in Distributed Real-time Systems and Its Application to Ada Environments Csi Invited Paper
Deadlock is one of the most serious problems in multitasking concurrent programming systems. The deadlock problem becomes further complicated when the underlying system is distributed and when tasks have timing constraints. Distributed deadlock detection has been studied to some extent in distributed database systems and distributed timesharing operating systems, but has not been widely used in...
متن کاملTowards Efficient Algorithms for Deadlock Detection and Resolution in Distributed Systems
Deadlock detection algorithms for distributed systems have been studied thoroughly for many years. However, many of them either are incorrect or too expensive in terms of time and/or space Complexity. One problem with previous work is that deadlock resolution is often overlooked. Another problem is the insufficient attention given to the characteristics of the wait-for model that is employed. T...
متن کاملOptimal Deadlock Detection in Distributed Systems Based on Locally Constructed Wait-for Graphs - Distributed Computing Systems, 1996., Proceedings of the 16th International Conference on
We present a new algorithm for detecting generalized deadlocks in distributed systems. Our algorithm incrementally constructs and reduces a wait-for graph (WFG) at an initiator process. This WFG is then searched for deadlock. The proposed algorithm has two primary advantages: First, it avoids sending messages along the edges of the global wait-for graph (WFG), thereby achieving a worst-case mes...
متن کامل